package cn.bookingsmart.controller;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping(value = "/portal")
@Controller
public class PortalController {
    private static Logger log = LoggerFactory.getLogger(PortalController.class);

    @RequestMapping(value = "/login")
    public String login() {
        return "/portal/login";
    }

    @RequestMapping(value = "/home")
    public String index(Model model) {
        return "/portal/home";
    }
}

